import child_process from "child_process";
// import iconv from "iconv-lite";
console.log(child_process.exec)
export default function localAudio(text) {
//     exec(`powershell.exe Add-Type -AssemblyName System.speech; $speak = New-Object System.Speech.Synthesis.SpeechSynthesizer; $speak.Rate = 5; $speak.Speak([Console]::In.ReadLine()); exit`).stdin.end(iconv.encode('别不信', 'gbk'));
}
